package ZhujieTest;

public class zhujie {

    @Time(timeLong = 1000)
    public static void test1() throws InterruptedException {
        Thread.sleep(500);
        System.out.println("方法1，睡眠0.5s");
    }
    @Time(timeLong = 1000)
    public static void test2() throws InterruptedException {
        Thread.sleep(1000);
        System.out.println("方法2，睡眠1s");
    }
    @Time(timeLong = 1000)
    public static void test3() throws InterruptedException {
        Thread.sleep(2000);
        System.out.println("方法3，睡眠2s");
    }
    @Time(timeLong = 1000)
    public static void test4() throws InterruptedException {
        Thread.sleep(3000);
        System.out.println("方法4，睡眠3s");
    }
    @Time(timeLong = 1000)
    public static void test5() throws InterruptedException {
        Thread.sleep(4000);
        System.out.println("方法5，睡眠4s");
    }
}
